<ul id="lanmu-tree" class="easyui-tree" data-options="
  	url : 'lanmu/tree_data.asp',
    animate : true,
    onContextMenu : function(e, node){
       	e.preventDefault();
        $(this).tree('select', node.target);
        $('#lanmu-menu').menu('show',{
           left : e.pageX,
           top : e.pageY
        })
    }
">
</ul>
<div id="lanmu-menu" class="easyui-menu" style="width:60px; display:none;">
  <div onClick="onRefresh()" data-options="iconCls:'icon-reload'">刷新</div>
  <div onClick="onAppend()" data-options="iconCls:'icon-add'">添加</div>
  <div onClick="onEdit()" data-options="iconCls:'icon-edit'">编辑</div>
  <div onClick="onDelete()" data-options="iconCls:'icon-remove'">删除</div>
</div>
<script type="text/javascript">
	function onRefesh(){
		
	}
	function onAppend(){
		var node = $("#lanmu-tree").tree('getSelected');
		$.ajax({
			url : "lanmu_action.asp?action=append",
			data : {id : node.id},
			success : function(data){
				
			}
		});
	}
</script>